<?php
require_once ('initialize.php');
include_once(Utils::getPath(array('shared', 'template.php')));

$template = new Template('application');
$template->initialize();

//header("refresh: 10; url=$newLocation");
?>
		<h2><?php echo $errorPageTitle ?></h2>
		<p>
			An error has occurred. You will be redirected in 10 seconds.
                        If you are not, please click <a href="<?php echo $newLocation ?>">here</a>.
		</p>
                <p>More Information: </p>
                <p><?php echo $errorMessage ?></p>
<?php
$template->createPage($errorPageTitle);
?>